
package com.iocup.keybastion.annotion;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Description: 是否具有角色
 * @Author: xyjxust
 * @Date: 2022/3/22 11:04
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface HasRole {

    String VALUE = "value";
    String LOGICAL = "logical";

    String[] value();

    Logical logical() default Logical.ANY;
}
